package com.onlinexam.dao;

import com.onlinexam.pojo.ExamPaperInfo;
import com.onlinexam.pojo.ExamPlanInfo;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface ExamPlanInfoMapper {
    //查询考试安排信息
    public List<ExamPlanInfo> getExamPlans(Map<String,Object> map);
    //新增考试试题
    public int isAddExamPlan(ExamPaperInfo examPlan);
    //修改考试试题信息
    public int isUpdateExamPlan(ExamPaperInfo examPlan);
    //通过id查找信息
    public ExamPlanInfo getExamPlanById(int examPlanId);
    //查找学生待考信息
    public List<ExamPlanInfo> getStudentWillExam(Map<String,Object> map);
    //删除学生考试试题
    public int isRemoveExamPlan(int examPlanId);
}
